FROM node:14
RUN mkdir -p /data/ginblog/web/admin
COPY ./package.json /data/ginblog/web/admin
WORKDIR /data/ginblog/web/admin
RUN npm config set registry https://registry.npm.taobao.org
#RUN npm install yarn -g
RUN yarn install
EXPOSE 8181
